package com.ethink.warehouse.api.info;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 辉辉 2023/2/14 16:54
 */
@Data
public class MateInventoryCxLogModeInfo {

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "操作流水号")
    private String orderNo;

    @Schema(description = "仓库编码")
    private String subWarehouseCode;

    @Schema(description = "仓库名称")
    private String subWarehouseName;

    @Schema(description = "处理状态 枚举 订单状态:1-待审核(s1)|2-完成(s2)")
    private Integer orderStatus;

    @Schema(description = "制单人")
    private String createUserName;

    @Schema(description = "制单日期")
    private Date createTime;

    @Schema(description = "被拆商品编码")
    private String mateSku;

    @Schema(description = "被拆商品名称")
    private String mateSkuName;

    @Schema(description = "渠道")
    private String saleSubChannel;

    @Schema(description = "被拆商品成本价")
    private BigDecimal costPrice;

    @Schema(description = "被拆数量")
    private String beforeQty;

    @Schema(description = "拆成几份")
    private Integer chaiQty;

    @Schema(description = "拆后商品编码")
    private String afterMateSku;

    @Schema(description = "拆后商品名称")
    private String afterMateSkuName;

    @Schema(description = "拆后商品成本价")
    private BigDecimal afterCostPrice;

    @Schema(description = "拆后数量")
    private Integer afterChaiQty;

    @Schema(description = "采购批次")
    private String purchaseCode;

    @Schema(description = "库存类型")
    private Integer inventoryType;

    @Schema(description = "生产批次")
    private String produceCode;

    @Schema(description = "生产日期")
    private Date productDate;

    @Schema(description = "到期日期")
    private Date expireDate;

}
